'use strict';

const Controller = require('egg').Controller;

class DocController extends Controller {
  async index() {
    await this.ctx.success({
      id: 101,
      dir_id: 102,
      title: '文档title',
      markdown: '## 内容markdown',
      html: '<h2>内容html<h2>',
    });
  }
}

module.exports = DocController;
